package com.ruoyi.member.service.impl;

import com.ruoyi.member.domain.BmInorderlist;
import com.ruoyi.member.mapper.LogisticsMapper;
import com.ruoyi.member.service.LogisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author {那蓝桉}
 * @Date: 2023/08/21/ 20:04
 * @description
 */
@Service
public class LogisticsServiceImpl implements LogisticsService {
    @Autowired
    private LogisticsMapper logisticsMapper;
    @Override
    public List<Map<String,Object>> orderShipment(Long id) {
        return logisticsMapper.orderShipment(id);
    }

    @Override
    public List<Map<String, Object>> allOrderShipment(Long id) {
        return logisticsMapper.allOrderShipment(id);
    }

    @Override
    public List<Map<String, Object>> otherOrderShipment(Long id) {
        return logisticsMapper.otherOrderShipment(id);
    }

    @Override
    public List<Map<String, Object>> orderSubShipment(Long id) {
        return logisticsMapper.orderSubShipment(id);
    }

    @Override
    public int updateShipment(String orderCode) {
        return logisticsMapper.updateShipment(orderCode);
    }
    @Override
    public int updateShipment2(String orderCode) {
        return logisticsMapper.updateShipment2(orderCode);
    }
}
